x86emul: derive vcpu_must_have() from vcpu_has()
authorJan Beulich <jbeulich@suse.com>
Mon, 12 Dec 2016 08:38:50 +0000 (09:38 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 12 Dec 2016 08:38:50 +0000 (09:38 +0100)
commit70d2e6b9cbab66dd863956aafdbababb81382133
treeddb2f39b5104ab32d17b8cfa61acb14bf6c11303
parente556d3a17aef3c2f7a52ebf93f5e7ddd8c05946c
x86emul: derive vcpu_must_have() from vcpu_has()

... to avoid introducing further redundancy when adding further feature
flag checks, and to bring its use better in line with its host_and_*()
sibling.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/x86_emulate/x86_emulate.c